package com.hurt.competition.player.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hurt.competition.common.enums.PlayerStateEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
//@TableName(value = "competition_judge_player")
@TableName(value = "scores")
public class CompetitionJudgePlayer {

    private Integer competitionId;
    private Integer userId;
    private Integer judgeUserId;
    private BigDecimal score;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date judgeTime;
    /*
    private Integer competitionId;
    private Integer userId;
    private BigDecimal score;
    private Integer judgeUserId;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date judgeTime;
    */
}
